Optimal. Leaf size=29 \[ \frac {\tan ^5(x)}{5 a^2}+\frac {2 \tan ^3(x)}{3 a^2}+\frac {\tan (x)}{a^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {3175, 3767} \[ \frac {\tan ^5(x)}{5 a^2}+\frac {2 \tan ^3(x)}{3 a^2}+\frac {\tan (x)}{a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3175
Rule 3767
Rubi steps
\begin {align*} \int \frac {\sec ^2(x)}{\left (a-a \sin ^2(x)\right )^2} \, dx &=\frac {\int \sec ^6(x) \, dx}{a^2}\\ &=-\frac {\operatorname {Subst}\left (\int \left (1+2 x^2+x^4\right ) \, dx,x,-\tan (x)\right )}{a^2}\\ &=\frac {\tan (x)}{a^2}+\frac {2 \tan ^3(x)}{3 a^2}+\frac {\tan ^5(x)}{5 a^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 31, normalized size = 1.07 \[ \frac {\frac {8 \tan (x)}{15}+\frac {1}{5} \tan (x) \sec ^4(x)+\frac {4}{15} \tan (x) \sec ^2(x)}{a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 25, normalized size = 0.86 \[ \frac {{\left (8 \, \cos \relax (x)^{4} + 4 \, \cos \relax (x)^{2} + 3\right )} \sin \relax (x)}{15 \, a^{2} \cos \relax (x)^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 22, normalized size = 0.76 \[ \frac {3 \, \tan \relax (x)^{5} + 10 \, \tan \relax (x)^{3} + 15 \, \tan \relax (x)}{15 \, a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.24, size = 20, normalized size = 0.69 \[ \frac {\frac {\left (\tan ^{5}\relax (x )\right )}{5}+\frac {2 \left (\tan ^{3}\relax (x )\right )}{3}+\tan \relax (x )}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 22, normalized size = 0.76 \[ \frac {3 \, \tan \relax (x)^{5} + 10 \, \tan \relax (x)^{3} + 15 \, \tan \relax (x)}{15 \, a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 13.80, size = 21, normalized size = 0.72 \[ \frac {\mathrm {tan}\relax (x)\,\left (3\,{\mathrm {tan}\relax (x)}^4+10\,{\mathrm {tan}\relax (x)}^2+15\right )}{15\,a^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {\sec ^{2}{\relax (x )}}{\sin ^{4}{\relax (x )} - 2 \sin ^{2}{\relax (x )} + 1}\, dx}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________